//
//  EFAMsgCtrlRecTCell.h
//  efairy
//
//  Created by XiangDongMBP on 2017/7/12.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class EFAMsgCtrlRecTCell;
@protocol EFAMsgCtrlRecTCellDelegate <NSObject>
@optional
- (void)msgCtrlRecvTCell:(EFAMsgCtrlRecTCell *)cell portraitTapped:(UIGestureRecognizer *)gesture;
- (void)msgCtrlRecvTCell:(EFAMsgCtrlRecTCell *)cell alarmBtnTapped:(UIButton *)btn;
@end

@class EFAMsgIMItem;
@interface EFAMsgCtrlRecTCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIImageView *portraitImgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *msgLabel;
@property (weak, nonatomic) IBOutlet UIButton *alarmBtn;

@property (weak, nonatomic) id<EFAMsgCtrlRecTCellDelegate>delegate;
- (void)configViewWithIMItem:(EFAMsgIMItem *)item;
@end
